// 接口请求都在这
import axios from "./axios";

export const getMenu = (param) => {
    return axios.request({
        url: '/permission/getMenu',
        method: 'post',
        data: param    
    })
}

export const getData = (params) => {
    return axios.request({
        url: '/home/getData',
        method: 'get',
        params 
    })
}

export const getUser = (params) => {
    return axios.request({
        url: '/user/getUser',
        method: 'get',
        params 
    })
}